package com.gpframework.module.wages.service;

import com.gpframework.module.wages.domain.GzFleetMonthlyRecord;
import com.gpframework.module.wages.domain.vo.GzFleetMonthlyRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.gpframework.module.wages.domain.vo.GzMonthlyReceiptOfGoodsVo;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzFleetMonthlyRecord
 * @Author gpframework
 * @Date 2024-01-19
 * @Version 1.0.0
 * @Description 车队月度Service接口
 */
public interface IGzFleetMonthlyRecordService extends IService<GzFleetMonthlyRecord> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-19
     * @Param [lqw]
     * @Return List<GzFleetMonthlyRecordVo>
     */
    List<GzFleetMonthlyRecordVo> listVo(QueryWrapper<GzFleetMonthlyRecord> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-19
     * @Param [id]
     * @Return GzFleetMonthlyRecordVo
     */
    GzFleetMonthlyRecordVo getVoById(Long id);

    List<GzFleetMonthlyRecordVo> list(String month, String deptName );

    void deleteByMonth(Date month);
}
